package com.appkubes.mall.admin.application.user.account.account.service;

import com.appkubes.common.exception.BusinessException;
import com.appkubes.mall.admin.application.user.account.account.entity.dto.AccountResultDTO;
import com.appkubes.mall.admin.application.user.account.account.entity.dto.AccountStatisDTO;
import com.appkubes.mall.admin.application.user.account.account.entity.vo.AccountSearchVO;
import com.appkubes.mall.core.entity.MallUserAccount;
import com.appkubes.mall.core.service.BaseMallUserAccountService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @Author: Rongjie
 * @Date: 2020/2/29
 * @Description:
 */
public interface UserAccountService extends BaseMallUserAccountService {


    /**
     * 确认订单
     *
     * @param userKey
     * @param orderKey
     * @return
     */
    Boolean orderConfirm(String userKey, String orderKey) throws BusinessException;

    IPage<AccountResultDTO> search(AccountSearchVO accountSearchVO);

    AccountStatisDTO statis(AccountSearchVO accountSearchVO);
}
